
var express = require('express');

var app = express()

app.use(express.static('static'));

app.use(express.json());
app.use(express.urlencoded({ extended: false }))

var userRouter = require('./router/userRouter')
app.use('/user', userRouter)

app.listen(7000, () => {
  console.log('服务端运行在: http://localhost:7000');
})